package com.zestinn.smart4j.framework;

import com.zestinn.smart4j.framework.helper.*;
import com.zestinn.smart4j.framework.util.ClassUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 加载相应的Helper类
 * @author zestinn
 * @create 2017-09-22 09:41
 */
public class HelperLoader {

    private final static Logger LOGGER = LoggerFactory.getLogger(HelperLoader.class);
    public static void init(){
        Class<?>[] classList = {
                ConfigHelper.class,
                ClassHelper.class,
                BeanHelper.class,
                AopHelper.class,
                IocHelper.class,
                ControllerHelper.class
        };
        for (Class<?> cls : classList){
            ClassUtil.loadClass(cls.getName());
        }
    }
}
